change buttons to panels