Fixed rotation issue with new fragment class instaid of hybrid