Implemented Fragment at a time

this have to co exists with fragment class and if u add
oneFragmentAtATime class it will do what the name suggests