Corrected the order for tabbing selection and added css effects