control panel and buttons from haml file
show panel next to clicked card