updated desktop functionality to match mobile