fix bug in slide menu