updated switching views, camerafragment