fixing the to inset for collection view if it is in navigation controller