added button and slide bar on top of canvas for future extendability