added small changes, added bottom panel for controlling