Add action after_setup_theme

Moves register_nav_menus and add_image_size functions to the correct action