fixed orientation change issues
fixed toolbar spacing on ios6 and ios7