Fixed issue with form sliding