Added top bar controller implementation

Added top bar controller implementation