To shift the application launcher icon to the top by issuing the following command:

gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true

To show the icon at the bottom of the application bar (default) you can issue the following command:

gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top false