Implemented fragment layout animation